<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">

        <div class="layui-form-item">
            <label class="layui-form-label">券标题</label>
            <div class="layui-input-block">
                <input type="hidden" name="redpack_no" value="{$redpack_no}"/>
                <input type="text" name="title" class="layui-input" lay-verify="required" placeholder="请输入券标题" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">副标题</label>
            <div class="layui-input-block">
                <input type="text" name="subtitle" class="layui-input" lay-verify="required" placeholder="请输入副标题" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">标签</label>
            <div class="layui-input-block">
                <input type="text" name="tag" class="layui-input"  placeholder="请输入标签" value="">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">类型</label>
            <div class="layui-input-block">
                {foreach $getRedpackTypeList as $k=>$v}
                <input type="radio" name="redpack_type" value="{$k}" title="{$v}" {in name="k" value="1"}checked=""{/in}>
                {/foreach}
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">金额(元)</label>
            <div class="layui-input-block">
                <input type="text" name="discount" class="layui-input"  placeholder="请输入抵扣金额(元)" value="0">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">有效期天数</label>
            <div class="layui-input-block">
                <input type="text" name="limit_time" class="layui-input"  placeholder="请输入有效期天数" value="0">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">开始时间</label>
            <div class="layui-input-block">
                <input type="text" name="start_time" data-date="" data-date-type="datetime" class="layui-input"  placeholder="请输入开始时间" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">结束时间</label>
            <div class="layui-input-block">
                <input type="text" name="end_time" data-date="" data-date-type="datetime" class="layui-input"  placeholder="请输入结束时间" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">发放数量</label>
            <div class="layui-input-block">
                <input type="text" name="total_num" class="layui-input"  placeholder="请输入发放数量" value="0">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">使用说明</label>
            <div class="layui-input-block">
                <textarea name="describe" rows="20" class="layui-textarea " placeholder="请输入使用说明"></textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">排序</label>
            <div class="layui-input-block">
                <input type="text" name="sort" class="layui-input"  placeholder="请输入排序" value="0">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">状态</label>
            <div class="layui-input-block">
                {foreach $getStatusList as $k=>$v}
                <input type="radio" name="status" value="{$k}" title="{$v}" {in name="k" value="1"}checked=""{/in}>
                {/foreach}
            </div>
        </div>

        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>